package com.naizhuai.ui.entity;

import com.google.gson.annotations.SerializedName;
import com.naizhuai.Model.db.user.PersonUserBean;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

/**
 * Depiction:
 * Author:code
 * Date:2018/1/20
 */

public class ChargeCheckItemBean<T> implements Serializable {

    private T personUser;

    private boolean check;

    public ChargeCheckItemBean() {}

    public ChargeCheckItemBean(T personUser, boolean check) {
        this.personUser = personUser;
        this.check = check;
    }

    public ChargeCheckItemBean(T personUser) {
        this(personUser,false);
    }

    public T getPersonUser() {
        return personUser;
    }

    public void setPersonUser(T personUser) {
        this.personUser = personUser;
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }

    @Override
    public String toString() {
        return personUser.toString();
    }
}
